package multithreading.basal;

import multithreading.threadd.MyText1;

public class Thraed1 {
    public static void main(String[] args) {
        //初始化任务类
        MyText1 target= new MyText1();
        //需要用线程类来承接

        new Thread(target).start();


        for (int i = 0; i < 5; i++) {
            System.out.println("主线程循环"+i+"次");
        }
    }
}
